AM_CPPFLAGS = \
	-I$(top_srcdir)/src/libstrongswan \
	-I$(top_srcdir)/src/libcharon \
	-I$(top_srcdir)/src/libsimaka \
	-DIPSEC_CONFDIR=\"/system/etc/strongswan\"

AM_CFLAGS = \
	$(PLUGIN_CFLAGS)

if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-eap-sim-file.la
else
plugin_LTLIBRARIES = libstrongswan-eap-sim-file.la
libstrongswan_eap_sim_file_la_LIBADD = $(top_builddir)/src/libsimaka/libsimaka.la
endif

libstrongswan_eap_sim_file_la_SOURCES = \
	eap_sim_file_plugin.h eap_sim_file_plugin.c \
	eap_sim_file_card.h eap_sim_file_card.c \
	eap_sim_file_provider.h eap_sim_file_provider.c \
	eap_sim_file_triplets.h eap_sim_file_triplets.c

libstrongswan_eap_sim_file_la_LDFLAGS = -module -avoid-version
